package com.example.crm.util;

public class ResBeanUtil {
    public static ResBean success(Object obj){
        return new ResBean("10000", "正确", obj);
    }

    public static ResBean success(){
        return new ResBean("10000", "正确", null);
    }

    public static ResBean error(Object obj){
        return new ResBean("40000", "错误", obj);
    }

    public static ResBean error(){
        return new ResBean("40000", "错误",null);
    }

}
